package com.bootlever.dubbo.provider.server.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.bootlever.dubbo.provider.api.DubboDemoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service(version = "1.0.0")
public class DubboDemoServiceImpl implements DubboDemoService {

    private static final Logger logger = LoggerFactory.getLogger(DubboDemoServiceImpl.class);

    public String getUserName(String name) {
        logger.info("dubbo服务被调用");
        return "返回：" + name;
    }
}
